#pragma once
#include "Service.h"
#include "QTreeWidgetItem"
#include "TreeItem.h"
class CServiceGetDataSetValues :
    public CService
{
public:
    CServiceGetDataSetValues(void);
    virtual ~CServiceGetDataSetValues(void);
    BOOL OnGetDataSetValues(const char * szDataSetRef, CMTree & tree);
public:
    void ServiceName();
    BOOL SetTreeItem(QTreeWidgetItem *treeItem);
private:
    QTreeWidgetItem *m_CurrentItem;
    CTreeItem *m_treeItem;
    QString treeValues;
    void PrintTree(CMTree & tree);
    void PrintVar(CAcsiVar & var);
    void PrintType(int type, int size);
};
